package com.hiultra.archive.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hiultra.common.annotation.Excel;
import com.hiultra.common.core.domain.BaseEntity;

/**
 * 鉴定详情对象 arc_appraial_details
 *
 * @author ls
 * @date 2023-08-31
 */
public class ArcAppraialDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 鉴定详情id */
    private Long appraisalDetailId;

    /** 鉴定id */
    @Excel(name = "鉴定id")
    private Long appraisalId;

    /** 档案id */
    @Excel(name = "档案id")
    private Long archiveId;

    /** 鉴定前有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "鉴定前有效期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date appraisalBeforeTime;

    /** 鉴定后有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "鉴定后有效期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date appraisalAfterTime;

    public  void setAppraisalDetailId(Long appraisalDetailId)
    {
        this.appraisalDetailId = appraisalDetailId;
    }

    public Long getAppraisalDetailId()
    {
        return appraisalDetailId;
    }
    public void setAppraisalId(Long appraisalId)
    {
        this.appraisalId = appraisalId;
    }

    public Long getAppraisalId()
    {
        return appraisalId;
    }
    public void setArchiveId(Long archiveId)
    {
        this.archiveId = archiveId;
    }

    public Long getArchiveId()
    {
        return archiveId;
    }
    public void setAppraisalBeforeTime(Date appraisalBeforeTime)
    {
        this.appraisalBeforeTime = appraisalBeforeTime;
    }

    public Date getAppraisalBeforeTime()
    {
        return appraisalBeforeTime;
    }
    public void setAppraisalAfterTime(Date appraisalAfterTime)
    {
        this.appraisalAfterTime = appraisalAfterTime;
    }

    public Date getAppraisalAfterTime()
    {
        return appraisalAfterTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("appraisalDetailId", getAppraisalDetailId())
            .append("appraisalId", getAppraisalId())
            .append("archiveId", getArchiveId())
            .append("appraisalBeforeTime", getAppraisalBeforeTime())
            .append("appraisalAfterTime", getAppraisalAfterTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
